<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="destructionId" name="destructionId" th:value="${destruction.destructionId}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">时间：</label>
								<div class="col-sm-8">
									<input id="destructionDate" name="destructionDate" th:value="${destruction.destructionDate}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">地点：</label>
								<div class="col-sm-8">
									<input id="place" name="place" th:value="${destruction.place}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">人员：</label>
								<div class="col-sm-8">
									<input id="personnel" name="personnel" th:value="${destruction.personnel}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">销毁方式：</label>
								<div class="col-sm-8">
									<input id="processingMethods" name="processingMethods" th:value="${destruction.processingMethods}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">品名：</label>
								<div class="col-sm-8">
									<input id="productName" name="productName" th:value="${destruction.productName}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">数量：</label>
								<div class="col-sm-8">
									<input id="number" name="number" th:value="${destruction.number}" class="form-control" type="number">
								</div>
							</div>
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="createBy" name="createBy" th:value="${destruction.createBy}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="createDate" name="createDate" th:value="${destruction.createDate}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="state" name="state" th:value="${destruction.state}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" th:inline="javascript">
		function setDestructionDate() {
            var date = [[${destruction.destructionDate}]]
            var newDate = new Date(date)
            var result = DateFormat.format(newDate, 'yyyy-MM-dd hh:mm:ss')
            laydate.render({
                elem: '#destructionDate', //指定元素
                type: 'datetime',
				value: result
            });

        }

	</script>
	<script type="text/javascript" th:src="@{/js/appjs/product/destruction/edit.js}" src="/js/appjs/product/destruction/edit.js">
	</script>
</body>
</html>
